package com.ruoyi.football.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.data.annotation.Id;

/**
 * 球场场地详情对象 stadium_detail
 * 
 * @author ruoyi
 * @date 2024-12-10
 */
public class StadiumDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @Id
    private Long id;

    /** 球场id */
    @Excel(name = "球场id")
    private Long stadiumId;

    /** 场地名称 */
    @Excel(name = "场地名称")
    private String name;

    /** 一小时价钱 */
    @Excel(name = "一小时价钱")
    private BigDecimal hourPrice;

    /** 间距多少个小时开放 */
    @Excel(name = "间距多少个小时开放")
    private Long spacing;

    /** 该场地的累计收入 */
    @Excel(name = "该场地的累计收入")
    private BigDecimal countPrice;

    /** 场地图片 */
    @Excel(name = "场地图片")
    private String image;

    /** 场地预定次数 */
    @Excel(name = "场地预定次数")
    private Long payNum;

    /** 球场类型id（几人制） */
    @Excel(name = "球场类型id", readConverterExp = "几=人制")
    private Long gameTypeId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStadiumId(Long stadiumId) 
    {
        this.stadiumId = stadiumId;
    }

    public Long getStadiumId() 
    {
        return stadiumId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setHourPrice(BigDecimal hourPrice) 
    {
        this.hourPrice = hourPrice;
    }

    public BigDecimal getHourPrice() 
    {
        return hourPrice;
    }
    public void setSpacing(Long spacing) 
    {
        this.spacing = spacing;
    }

    public Long getSpacing() 
    {
        return spacing;
    }
    public void setCountPrice(BigDecimal countPrice) 
    {
        this.countPrice = countPrice;
    }

    public BigDecimal getCountPrice() 
    {
        return countPrice;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setPayNum(Long payNum) 
    {
        this.payNum = payNum;
    }

    public Long getPayNum() 
    {
        return payNum;
    }
    public void setGameTypeId(Long gameTypeId) 
    {
        this.gameTypeId = gameTypeId;
    }

    public Long getGameTypeId() 
    {
        return gameTypeId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stadiumId", getStadiumId())
            .append("name", getName())
            .append("hourPrice", getHourPrice())
            .append("spacing", getSpacing())
            .append("countPrice", getCountPrice())
            .append("image", getImage())
            .append("payNum", getPayNum())
            .append("gameTypeId", getGameTypeId())
            .toString();
    }
}
